package cn.ztw;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @BelongsProject: springcloudnetflix-parent
 * @BelongsPackage: cn.itsource
 * @Author: Director
 * @CreateTime: 2022-07-30  11:38
 * @Description: TODO
 * @Version: 1.0
 */
@SpringBootApplication
// 开启Nacos客户端
@EnableDiscoveryClient
@RefreshScope
public class UserServerApp {

    public static void main(String[] args) {
        SpringApplication.run(UserServerApp.class, args);
    }

}